package com.admin.business.background.venusOaControlOverInvoices;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.tiangong.framework.bo.CDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @description: 发票管理表
 * @create: 2023-11-01 13:39:23
 **/
@DS("user")
@Mapper
public interface VenusOaControlOverInvoicesDao{
    /**添加发票管理表数据*/
    void addVenusOaControlOverInvoices(CDO cdo);

    /**添加发票管理表数据*/
    void addOrUpdateVenusOaControlOverInvoices(CDO cdo);

    /**根据Id更新发票管理表数据*/
    int updateVenusOaControlOverInvoicesById(CDO cdo);

    /**根据Id删除发票管理表数据*/
    int deleteVenusOaControlOverInvoicesById(Long id);

    /**根据条件删除发票管理表数据*/
    int deleteVenusOaControlOverInvoices(CDO cdo);

    /**根据id获取发票管理表数据*/
    CDO getVenusOaControlOverInvoicesById(Long id);

    /**根据非空条件获取发票管理表数据列表*/
    List<CDO> getVenusOaControlOverInvoicesListPage(CDO cdo);

    /**根据混合条件获取发票管理表数据列表*/
    List<CDO> getVenusOaControlOverInvoicesListPageByCondition(CDO cdo);

    /**获取发票管理表数据条数*/
    int getVenusOaControlOverInvoicesCount(CDO cdo);


    /** 查询装修是否设置*/
    CDO getVenusOaControlOverInvoicesInstallByOrgId(CDO cdo);


}
